cmake_minimum_required(VERSION 3.19)
project(_Vision)
set(CMAKE_CXX_STANDARD 20)
find_package(Eigen3 REQUIRED)
find_package(OpenCV REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIR})
include_directories(${OpenCV_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR}/Auxiliary/Kalman)
add_subdirectory(Auxiliary)
add_subdirectory(Controller)
add_subdirectory(Monitor)
add_subdirectory(Parameter)
add_subdirectory(Messager)
add_subdirectory(Processor)
add_executable(_Vision main.cpp)
target_link_libraries(_Vision ${OpenCV_LIBS} Controller)